<%@page contentType="text/html" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>个人信息管理系统 -> 删除通讯录</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f4f7fc;
            margin: 0;
            padding: 0;
        }

        h1 {
            color: #4A90E2;
            text-align: center;
            padding: 20px 0;
        }

        .navbar {
            background-color: #4A90E2;
            padding: 10px;
            text-align: center;
        }

        .navbar a {
            color: white;
            font-size: 18px;
            text-decoration: none;
            margin: 0 20px;
        }

        .navbar a:hover {
            text-decoration: underline;
        }

        .container {
            max-width: 800px;
            margin: 30px auto;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            padding: 20px;
        }

        .form-table {
            width: 100%;
            border-spacing: 0;
            margin: 0 auto;
        }

        .form-table td {
            padding: 12px;
            font-size: 16px;
            text-align: center;
        }

        .form-table input[type="text"] {
            width: 80%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 16px;
        }

        .form-table input[type="submit"], .form-table input[type="reset"] {
            width: auto;
            padding: 12px 24px;
            border: none;
            border-radius: 5px;
            background-color: #4A90E2;
            color: white;
            font-size: 16px;
            cursor: pointer;
        }

        .form-table input[type="submit"]:hover, .form-table input[type="reset"]:hover {
            background-color: #357ABD;
        }

        .footer {
            text-align: center;
            margin-top: 40px;
            font-size: 14px;
            color: #888;
        }

        .footer a {
            color: #4A90E2;
            text-decoration: none;
        }

        .footer a:hover {
            text-decoration: underline;
        }
    </style>
</head>
<body>
<h1>个人信息管理系统 -> 删除通讯录</h1>

<div class="navbar">
    <a href="http://localhost/friendManager/addFriend.jsp">增加联系人</a>
    <a href="http://localhost/LookFriendController/lookFriend">查看通讯录</a>
    <a href="http://localhost/friendManager/updateFriend.jsp">修改联系人</a>
</div>

<div class="container">
    <form action="http://localhost/DeleteFriendController/deleteFriend" method="post" accept-charset="UTF-8">
        <table class="form-table">
            <tr>
                <td colspan="2"><h3>请输入要删除联系人的姓名</h3></td>
            </tr>
            <tr>
                <td>姓名：</td>
                <td><input type="text" name="name" placeholder="请输入联系人姓名" required></td>
            </tr>
            <tr>
                <td colspan="2">
                    <input type="submit" value="确 定">
                    <input type="reset" value="重 置">
                </td>
            </tr>
        </table>
    </form>
</div>

<div class="footer">
    <p>&copy; 2024 个人信息管理系统 | <a href="#">隐私政策</a></p>
</div>
</body>
</html>
